<!DOCTYPE html>
<html lang="zh-CN">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>企业门户 - 前台入口</title>
    <link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.4.0/css/all.min.css">
    <style>
        * {
            margin: 0;
            padding: 0;
            box-sizing: border-box;
            font-family: 'Segoe UI', 'Microsoft YaHei', sans-serif;
        }
        
        body {
            background: #f8f9fa;
            color: #333;
            min-height: 100vh;
            overflow: hidden;
            padding: 20px;
        }
        
        .container {
            max-width: 1200px;
            margin: 0 auto;
            height: calc(100vh - 40px);
            display: flex;
            flex-direction: column;
            background: white;
            border-radius: 20px;
            box-shadow: 0 10px 40px rgba(0, 0, 0, 0.08);
            overflow: hidden;
        }
        
        /* 头部样式 */
        header {
            display: flex;
            justify-content: space-between;
            align-items: center;
            padding: 20px 40px;
            background: white;
            border-bottom: 1px solid #eaeaea;
        }
        
        .logo {
            display: flex;
            align-items: center;
            gap: 15px;
        }
        
        .logo-icon {
            width: 50px;
            height: 50px;
            background: linear-gradient(135deg, #3b82f6, #60a5fa);
            border-radius: 12px;
            display: flex;
            align-items: center;
            justify-content: center;
            color: white;
            font-size: 24px;
        }
        
        .logo-text h1 {
            font-size: 1.8rem;
            font-weight: 700;
            color: #1e293b;
        }
        
        .logo-text p {
            font-size: 0.9rem;
            color: #64748b;
        }
        
        .login-buttons {
            display: flex;
            gap: 15px;
        }
        
        .btn {
            padding: 12px 30px;
            border-radius: 30px;
            font-size: 1rem;
            font-weight: 600;
            cursor: pointer;
            transition: all 0.3s ease;
            border: none;
            display: flex;
            align-items: center;
            gap: 8px;
        }
        
        .btn-front {
            background: linear-gradient(90deg, #3b82f6, #60a5fa);
            color: white;
        }
        
        .btn-back {
            background: white;
            border: 2px solid #3b82f6;
            color: #3b82f6;
        }
        
        .btn:hover {
            transform: translateY(-3px);
            box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
        }
        
        /* 主要内容样式 */
        main {
            flex: 1;
            display: flex;
            padding: 40px;
            gap: 40px;
        }
        
        .hero-section {
            flex: 1;
            display: flex;
            flex-direction: column;
            justify-content: center;
        }
        
        .hero-section h2 {
            font-size: 3rem;
            margin-bottom: 20px;
            line-height: 1.2;
            color: #1e293b;
        }
        
        .hero-section h2 span {
            color: #3b82f6;
        }
        
        .hero-section p {
            font-size: 1.2rem;
            margin-bottom: 30px;
            color: #64748b;
            line-height: 1.6;
            max-width: 500px;
        }
        
        .features {
            display: flex;
            flex-wrap: wrap;
            gap: 20px;
            margin-top: 20px;
        }
        
        .feature {
            background: #f1f5f9;
            border-radius: 15px;
            padding: 20px;
            flex: 1;
            min-width: 200px;
            display: flex;
            gap: 15px;
        }
        
        .feature i {
            font-size: 1.8rem;
            color: #3b82f6;
        }
        
        .feature-text h4 {
            font-size: 1.1rem;
            margin-bottom: 8px;
            color: #1e293b;
        }
        
        .feature-text p {
            font-size: 0.9rem;
            color: #64748b;
            margin: 0;
        }
        
        .content-section {
            flex: 1;
            display: flex;
            flex-direction: column;
        }
        
        .section-title {
            display: flex;
            align-items: center;
            margin-bottom: 25px;
            gap: 12px;
        }
        
        .section-title i {
            font-size: 1.8rem;
            color: #3b82f6;
        }
        
        .section-title h3 {
            font-size: 1.8rem;
            font-weight: 600;
            color: #1e293b;
        }
        
        .news-grid {
            display: grid;
            grid-template-columns: repeat(2, 1fr);
            gap: 20px;
            height: 100%;
        }
        
        .news-card {
            background: white;
            border-radius: 15px;
            padding: 25px;
            box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
            transition: transform 0.3s ease, box-shadow 0.3s ease;
            border: 1px solid #f1f5f9;
            display: flex;
            flex-direction: column;
            position: relative;
            overflow: hidden;
        }
        
        .news-card:before {
            content: '';
            position: absolute;
            top: 0;
            left: 0;
            width: 5px;
            height: 100%;
            background: #3b82f6;
        }
        
        .news-card:hover {
            transform: translateY(-5px);
            box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
        }
        
        .news-card h4 {
            font-size: 1.2rem;
            margin-bottom: 12px;
            color: #1e293b;
        }
        
        .news-date {
            font-size: 0.85rem;
            color: #94a3b8;
            margin-bottom: 15px;
            display: flex;
            align-items: center;
            gap: 8px;
        }
        
        .news-card p {
            font-size: 0.95rem;
            color: #64748b;
            line-height: 1.6;
            flex: 1;
            margin-bottom: 20px;
        }
        
        .read-more {
            color: #3b82f6;
            text-decoration: none;
            font-weight: 600;
            font-size: 0.9rem;
            display: inline-flex;
            align-items: center;
            gap: 5px;
        }
        
        .read-more:hover {
            text-decoration: underline;
        }
        
        /* 友情链接样式 */
        footer {
            background: #f1f5f9;
            padding: 30px 40px;
            border-top: 1px solid #eaeaea;
        }
        
        .footer-content {
            display: flex;
            justify-content: space-between;
            align-items: center;
        }
        
        .friend-links {
            display: flex;
            flex-wrap: wrap;
            gap: 25px;
        }
        
        .friend-links a {
            color: #64748b;
            text-decoration: none;
            font-size: 1rem;
            transition: color 0.3s ease;
            display: flex;
            align-items: center;
            gap: 8px;
        }
        
        .friend-links a:hover {
            color: #3b82f6;
        }
        
        .copyright {
            color: #94a3b8;
            font-size: 0.9rem;
        }
        
        /* 响应式调整 */
        @media (max-width: 900px) {
            main {
                flex-direction: column;
            }
            
            .hero-section {
                padding-right: 0;
            }
            
            .hero-section h2 {
                font-size: 2.5rem;
            }
        }
        
        @media (max-width: 768px) {
            header {
                flex-direction: column;
                gap: 20px;
                text-align: center;
            }
            
            .login-buttons {
                width: 100%;
                justify-content: center;
            }
            
            .logo {
                justify-content: center;
            }
            
            .news-grid {
                grid-template-columns: 1fr;
            }
            
            .footer-content {
                flex-direction: column;
                gap: 20px;
            }
        }
    </style>
</head>
<body>
    <div class="container">
        <!-- 头部导航 -->
        <header>
            <div class="logo">
                <div class="logo-icon">
                    <i class="fas fa-building"></i>
                </div>
                <div class="logo-text">
                    <h1>企业门户平台</h1>
                    <p>连接 · 分享 · 成长</p>
                </div>
            </div>
            <div class="login-buttons">
                <button class="btn btn-front">
                    <i class="fas fa-user"></i> 前台登录
                </button>
                <button class="btn btn-back">
                    <i class="fas fa-cog"></i> 后台管理
                </button>
            </div>
        </header>
        
        <!-- 主要内容区 -->
        <main>
            <div class="hero-section">
                <h2>欢迎访问<span>企业门户平台</span></h2>
                <p>我们为您提供最新的企业动态、行业资讯和资源分享，帮助您更好地了解企业发展与行业趋势。</p>
                
                <div class="features">
                    <div class="feature">
                        <i class="fas fa-newspaper"></i>
                        <div class="feature-text">
                            <h4>最新资讯</h4>
                            <p>实时更新的企业动态与行业新闻</p>
                        </div>
                    </div>
                    
                    <div class="feature">
                        <i class="fas fa-users"></i>
                        <div class="feature-text">
                            <h4>用户社区</h4>
                            <p>与同事交流分享经验与见解</p>
                        </div>
                    </div>
                    
                    <div class="feature">
                        <i class="fas fa-file-alt"></i>
                        <div class="feature-text">
                            <h4>资源中心</h4>
                            <p>获取工作所需文档与工具资源</p>
                        </div>
                    </div>
                    
                    <div class="feature">
                        <i class="fas fa-calendar-alt"></i>
                        <div class="feature-text">
                            <h4>活动日历</h4>
                            <p>了解企业活动与重要日程安排</p>
                        </div>
                    </div>
                </div>
            </div>
            
            <div class="content-section">
                <div class="section-title">
                    <i class="fas fa-bullhorn"></i>
                    <h3>最新动态</h3>
                </div>
                
                <div class="news-grid">
                    <div class="news-card">
                        <h4>公司成功举办年度技术峰会</h4>
                        <div class="news-date">
                            <i class="far fa-calendar"></i> 2023年10月15日
                        </div>
                        <p>本次峰会汇集了行业顶尖专家，共同探讨人工智能与大数据领域的最新发展趋势，展示了多项创新技术成果。</p>
                        <a href="#" class="read-more">
                            阅读更多 <i class="fas fa-arrow-right"></i>
                        </a>
                    </div>
                    
                    <div class="news-card">
                        <h4>新产品发布：智能办公解决方案</h4>
                        <div class="news-date">
                            <i class="far fa-calendar"></i> 2023年10月8日
                        </div>
                        <p>我们正式发布了新一代智能办公系统，集成了AI助手、自动化流程和智能数据分析，大幅提升企业办公效率。</p>
                        <a href="#" class="read-more">
                            阅读更多 <i class="fas fa-arrow-right"></i>
                        </a>
                    </div>
                    
                    <div class="news-card">
                        <h4>行业报告：数字化转型趋势分析</h4>
                        <div class="news-date">
                            <i class="far fa-calendar"></i> 2023年10月1日
                        </div>
                        <p>最新研究报告显示，2023年企业数字化转型投入增长35%，云计算和AI技术成为主要驱动力。</p>
                        <a href="#" class="read-more">
                            阅读更多 <i class="fas fa-arrow-right"></i>
                        </a>
                    </div>
                    
                    <div class="news-card">
                        <h4>公司荣获"科技创新企业"奖项</h4>
                        <div class="news-date">
                            <i class="far fa-calendar"></i> 2023年9月25日
                        </div>
                        <p>在年度科技企业评选中，我公司凭借创新技术和产品获得"年度科技创新企业"称号，这是连续第三年获此殊荣。</p>
                        <a href="#" class="read-more">
                            阅读更多 <i class="fas fa-arrow-right"></i>
                        </a>
                    </div>
                </div>
            </div>
        </main>
        
        <!-- 底部区域 -->
        <footer>
            <div class="footer-content">
                <div class="friend-links">
                    <a href="#"><i class="fas fa-link"></i> 关于我们</a>
                    <a href="#"><i class="fas fa-link"></i> 新闻中心</a>
                    <a href="#"><i class="fas fa-link"></i> 产品服务</a>
                    <a href="#"><i class="fas fa-link"></i> 人才招聘</a>
                    <a href="#"><i class="fas fa-link"></i> 联系我们</a>
                    <a href="#"><i class="fas fa-link"></i> 帮助中心</a>
                </div>
                
                <div class="copyright">
                    © 2023 企业门户平台 | 版权所有
                </div>
            </div>
        </footer>
    </div>

    <script>
        // 动态调整内容高度，确保不出现滚动条
        function adjustLayout() {
            const container = document.querySelector('.container');
            const windowHeight = window.innerHeight;
            container.style.height = windowHeight - 40 + 'px';
        }
        
        // 初始调整
        adjustLayout();
        
        // 窗口大小变化时调整
        window.addEventListener('resize', adjustLayout);
        
        // 登录按钮交互
        document.querySelector('.btn-front').addEventListener('click', function() {
            alert('前台登录功能');
        });
        
        document.querySelector('.btn-back').addEventListener('click', function() {
            alert('后台管理登录功能');
        });
        
        // 新闻卡片悬停效果增强
        const newsCards = document.querySelectorAll('.news-card');
        newsCards.forEach(card => {
            card.addEventListener('mouseenter', function() {
                this.style.borderColor = '#dbeafe';
            });
            
            card.addEventListener('mouseleave', function() {
                this.style.borderColor = '#f1f5f9';
            });
        });
    </script>
</body>
</html>